// 导入需要的config和request
import confing from '../config/config.js';
import request from '../util/request.js';

// 申明请求对象
const workOrderBomRequest = {
    // dict请求的基本url
    BASE_URL : confing.PRO_URL + "/workOrderBom",
    /**
     * 根据工序编号查询操作步骤
     * @param {*} processId 
     * @param {*} callback 
     */
    list(workOrderId,callback){
    request.get(this.BASE_URL + "/list?workOrderId=" +
    workOrderId,callback);
     },
     
    }
    // 将dictRequest暴漏出去
    export default workOrderBomRequest;